<template>
	<view>
		<view class="card" v-if="item">
			<view class="topRow1">
				<view class="name">
					<text>{{item.goods_name}}</text>
				</view>

				<view>
					<text class="colorGray">规格型号：</text>
					<text>{{item.sku_name || '暂无'}}</text>
				</view>
				<view>
					<text class="colorGray">出库数量：</text>
					<text>{{item.num || '0'}}</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			item: {
				type: Object,
				default: () => {}
			},
			index: {
				type: Number,
				default: 0
			}
		},
		data() {
			return {
				
			}
		}
	}
</script>

<style>
	.card {
		width: 698rpx;
		padding: 26rpx 26rpx 10rpx;
		margin: 16rpx 26rpx;
		box-sizing: border-box;
		border-radius: 16rpx;
		box-shadow: #d8d8d8 0px 0px 16rpx;
		position: relative;
		background-color: #FFFFFF;
	}

	.topRow1 {
		margin-bottom: 16rpx;
		font-size: 15px;
		color: #000;
		position: relative;
	}

	.name {
		font-size: 16px;
		margin-bottom: 8rpx;
		color: #000000;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-weight: bold;
	}

	.colorGray {
		color: #888888;
	}
</style>